package cn.schoolwow.ams.domain.block.list.clazz;

import cn.schoolwow.ams.domain.block.router.AbstractRouterBlock;

public abstract class ClazzListBlockConfigAware extends AbstractRouterBlock {
    @Override
    public String getBlockUniqueName(){
        getAMSCacheBlockConfig();
        ClazzListBlockOption amsClazzListBlockOption = (ClazzListBlockOption) cacheBlockConfig;
        String blockUniqueName = "clazzListBlock|"+cacheBlockConfig.projectName +"|"+ amsClazzListBlockOption.clazzName;
        return blockUniqueName;
    }

    public abstract ClazzListBlockOption getAMSBlockConfig();
}
